<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="*|/">
    <xsl:apply-templates/>
  </xsl:template>

  <xsl:template match="text()|@*">
    <xsl:value-of select="."/>
  </xsl:template>

  <xsl:template match='nbsp' name='nbsp'>
    <xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
  </xsl:template>


  <xsl:template match="Registration/Step5">

    <script type="text/javascript">

      YAHOO.formRegistration.init = function () {
      function onPushButtonsMarkupReady() {
      var oSubmitButton1 = new YAHOO.widget.Button("signup_submit", { id:"submitbutton1" });
      }

      YAHOO.util.Event.onContentReady("formRegistration", onPushButtonsMarkupReady);

      } ();

      initLoadingContainer();

    </script>


    <form name="formRegistration" id="formRegistration" method="post" action="registration2.aspx?step=6">
      <center>
        <div class="round_me" style="text-align:left; background:#FEEECC; padding:20px; margin:10px; width:75%;">
          <div class='title'>
            <xsl:value-of select="@title"/>
            <input type="hidden" name="newlyCreatedUserid" value="{/Registration/@newlyCreatedUserid}"/>
          </div>
          <xsl:for-each select='Question'>
            <xsl:choose>
              <xsl:when test='@id="501"'>
                <div class='body' style='padding:10px;'>
                  <xsl:value-of select="@description"/>
                  <br/>
                  <textarea rows="10" cols="65" name="D{@id}" style="width:100%;">
                  </textarea>
                  <br/>
                  <span class="shycomment">
                    (<xsl:value-of select="@comment"/>)
                  </span>
                </div>
              </xsl:when>
            </xsl:choose>
          </xsl:for-each>
          <div style='text-align:center;padding-top:20px;padding-bottom:20px;'>
            <input type="submit" id="signup_submit" name="subbutton" value="{@SubmitButton}"></input>
          </div>
        </div>
    </center>
    </form>

  </xsl:template>

</xsl:stylesheet>